package com.rongke.service;

import com.baomidou.mybatisplus.service.IService;
import com.rongke.model.ShoppingCar;

import java.util.List;

/**
 * @ShoppingCarService
 * @购物车Service
 * @version : Ver 1.0
 */
public interface ShoppingCarService extends IService<ShoppingCar>{

    List<ShoppingCar> selectByCondition(ShoppingCar shoppingCar);


    /**
     * 清空购物车
     */
    void emptyShoppingCart(Long orderId);
}
